package com.hzh.entity;

public class User {
    private Integer uid;
    private String name;
    private char sex;
    private String phone;

    public User() {
    }

    public User(Integer uid, String name, char sex, String phone) {
        this.uid = uid;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
    }

    /**
     * 获取
     * @return uid
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * 设置
     * @param uid
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return sex
     */
    public char getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(char sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String toString() {
        return "User{uid = " + uid + ", name = " + name + ", sex = " + sex + ", phone = " + phone + "}";
    }
}
